BIN=../bin/ChatSystem
CPATH=-L /usr/lib64/mysql 
LIB=-lmysqlclient -lpthread -ljsoncpp

$(BIN):Main.cpp DBManage.cpp UManage.cpp ChatServer.cpp Msg.cpp 
	g++ $^ -o $@ $(CPATH) $(LIB) -g 


.PHONY:clean
clean:
	rm $(BIN)
